package com.YCH.model.article.dtos;

import com.YCH.model.annotation.DateConvert;
import com.YCH.model.annotation.IdEncrypt;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class AppPublicArticleDto {
    private String title;
    private List<String> tag;
    private String content;
    @IdEncrypt
    private Long categoryId;
    private boolean isCreation;
    private boolean isPublic;
    private boolean isReprint;
    @IdEncrypt
    private Integer provinceId;
    @IdEncrypt
    private Integer cityId;
    @IdEncrypt
    private Integer countyId;
    @DateConvert("yyyyMMddHHmmss")
    private Date creatTime;
    private Date modifyTime;
}
